Crate picoserve

source ·
Expand description

An async no_std HTTP server suitable for bare-metal environments, heavily inspired by axum.

It was designed with embassy on the Raspberry Pi Pico W in mind, but should work with other embedded runtimes and hardware.

For examples on how to use picoserve, see the examples directory

Re-exports§

Modules§

Structs§

  • Server Configuration.
  • A Marker showing that the response has been sent.
  • How long to wait before timing out for different operations. If set to None, the operation never times out.

Enums§

  • Errors arising while handling a request.
  • After the response has been sent, should the connection be kept open to allow the client to make further requests on the same TCP connection?

Functions§

  • Serve app with incoming requests. App has no state.
  • Serve app with incoming requests. App has a state of State.